package cc.rengu.igas.channel.alipay.core.realize;


import cc.rengu.oltp.service.common.entity.DstChannelInfo;

/**
 * 支付通道相关服务
 */
public interface TunlService {
    /**
     * 检查通道是否可用
     *
     * @param instId
     * @param tunlId
     * @return
     * @throws Exception
     */
    DstChannelInfo checkTunnel(String instId, String tunlId) throws Exception;

    /**
     * @param instId
     * @param tunlId
     * @param txnNum
     * @return
     * @throws Exception
     */
    int checkTunnel(String instId, String tunlId, String txnNum) throws Exception;
}
